package xin.petstore.framework.file.hash;

public class HashBuffer {
    private byte[] data;
    private int offset;
    private int length;
    private boolean skip;

    HashBuffer(byte[] data, int length) {
        this.data = data;
        this.length = length;
    }

    public byte[] getData() {
        return this.data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public int getOffset() {
        return this.offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getLength() {
        return this.length;
    }

    public void setLength(int dataLength) {
        this.length = dataLength;
    }

    public boolean isSkip() {
        return this.skip;
    }

    public void setSkip(boolean skip) {
        this.skip = skip;
    }
}
